package com.lemzdo.community.dto;

import com.lemzdo.community.model.User;
import lombok.Data;

@Data
public class PostDTO {
    //主键id
    private Integer id;
    //帖子标题
    private String title;
    //帖子文本内容
    private String text;
    //创建时间
    private Long gmtCreate;
    //修改时间
    private Long gmtModified;
    //创建作者id
    private Integer authorId;
    //评论数
    private Integer commentCount;
    //点赞数
    private Integer likeCount;
    //浏览数
    private Integer viewCount;
    //标签
    private String tag;
    //关联User表的user
    private User user;
}
